<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('K_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-k_type" class="form-control selectpicker" name="row[k_type]">
                {foreach name="kTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('K_val')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-k_val" data-rule="required" class="form-control" name="row[k_val]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Independent_visitors')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-independent_visitors" data-rule="required" class="form-control" name="row[independent_visitors]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lp_views')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lp_views" data-rule="required" class="form-control" name="row[lp_views]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Completed_orders')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-completed_orders" data-rule="required" class="form-control" name="row[completed_orders]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Abandoned_orders')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-abandoned_orders" data-rule="required" class="form-control" name="row[abandoned_orders]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mall_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-mall_type" data-rule="required" class="form-control selectpicker" name="row[mall_type]">
                {foreach name="mallTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
